﻿@{
    /**/

    ViewBag.Title = "QR_Code";
    Layout = "~/Views/Shared/_LayoutPage.cshtml";
    ViewBag.PageTitle = "AGV系统";
    ViewBag.PageColumn = "二维码管理";
}
<script src="~/Scripts/AGVSystem/QR_Code.js"></script>
<div class="count-panel" style="width:100%;margin:0px auto;">
    <div class="x_title">
        <div class="clearfix">
            <div class="panel-body" style="padding:0px;">
                <form id="formSearch" class="form-horizontal">
                    <div class="panel panel-default">
                        <div class="panel-heading " id="pal-text"><span class="glyphicon glyphicon-filter" aria-hidden="true"></span>&nbsp;查询条件<span style="float:right;"><a href="javascript:;" style="text-decoration:none" class="Inquire-text" id="btn_query"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>&nbsp;查询</a></span></div>
                        <div class="panel-body">
                            <div class="form-group">
                                <label class="control-label col-sm-1" for="txt_search_rolename">二维码编号</label>
                                <div class="col-sm-3">
                                    <input id="query_qrId" type="text" class="form-control">
                                </div>
                                <label class="control-label col-sm-1" for="txt_search_desc">二维码状态</label>
                                <div class="col-sm-3">
                                    <select id="query_qrStatus" class="selectpicker show-tick form-control" data-live-search="false">
                                        <option value="0">全部</option>
                                        <option value="1">使用中</option>
                                        <option value="2">禁用</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
                <div class="panel panel-default">
                    <div class="panel-heading" id="pal-text"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span>&nbsp;数据列表</div>
                    <div class="panel-body" style="padding:10px;">
                        <div id="toolbar" class="btn-group">
                            <button id="btn_add" type="button" class="btn btn-default">
                                <span class="glyphicon glyphicon-plus" aria-hidden="true" style="font-size:10px;"></span>&nbsp;新增
                            </button>
                            <button id="btn_add_s" type="button" class="btn btn-default">
                                <span class="glyphicon glyphicon-plus" aria-hidden="true" style="font-size:10px;"></span>&nbsp;批量新增
                            </button>
                            <button id="btn_empty" type="button" class="btn btn-default">
                                <span class="glyphicon glyphicon-minus" aria-hidden="true" style="font-size:10px;"></span>&nbsp;清空
                            </button>
                            <button id="btn_edit" type="button" class="btn btn-default">
                                <span class="glyphicon glyphicon-pencil" aria-hidden="true" style="font-size:10px;"></span>&nbsp;修改
                            </button>
                            <button id="btn_delete" type="button" class="btn btn-default">
                                <span class="glyphicon glyphicon-remove" aria-hidden="true" style="font-size:10px;"></span>&nbsp;删除
                            </button>
                        </div>
                        <table id="tb_report"></table>
                    </div>
                </div>
            </div>
            <form id="ajaxForm">
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                    <div class="modal-dialog modal-full" role="document">
                        <div class="modal-content">

                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                <h4 class="modal-title" name="title" id="myModalLabel">新增</h4>
                            </div>
                            <div class="modal-body">

                                <div class="form-group">
                                    <label for="txt_rolename">二维码编号</label>
                                    <input type="text" name="txt_qrId" class="form-control" id="txt_qrId" readonly placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_roledesc">信息</label>
                                    <input type="text" name="txt_qrInfo" class="form-control" id="txt_qrInfo" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_defaulturl">X轴</label>
                                    <input type="text" name="txt_qrX" class="form-control" id="txt_qrX" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_defaulturl_Web">Y轴</label>
                                    <input type="text" name="txt_qrY" class="form-control" id="txt_qrY" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_defaulturl_Web">状态</label>
                                    <div>
                                        <select id="txt_qrStatus" class="selectpicker show-tick form-control" data-live-search="false">
                                            <option value="1">使用中</option>
                                            <option value="2">禁用</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="txt_defaulturl_Web">备注</label>
                                    <input type="text" name="txt_qrRemark" class="form-control" id="txt_qrRemark" placeholder="">
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                <button type="button" id="btn_submit" click="upSubmit" class="btn btn-primary">确认</button>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
            <form id="ajaxForm_s">
                <div class="modal fade" id="myModal_s" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
                    <div class="modal-dialog modal-full" role="document">
                        <div class="modal-content">

                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                <h4 class="modal-title" name="title" id="myModalLabel_s">批量新增</h4>
                            </div>
                            <div class="modal-body">
                                <div class="form-group">
                                    <label for="txt_rolename">地图名称</label>
                                    <input type="text" name="map_name" class="form-control" id="map_name" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_rolename">地图宽度(X)</label>
                                    <input type="text" name="map_x" class="form-control" id="map_x" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_roledesc">二维码间隔(X)</label>
                                    <input type="text" name="qr_x" class="form-control" id="qr_x" placeholder="">
                                </div>·
                                <div class="form-group">
                                    <label for="txt_roledesc">地图高度(Y)</label>
                                    <input type="text" name="map_y" class="form-control" id="map_y" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_roledesc">二维码间隔(Y)</label>
                                    <input type="text" name="qr_y" class="form-control" id="qr_y" placeholder="">
                                </div>
                                <div class="form-group">
                                    <label for="txt_defaulturl_Web">备注</label>
                                    <input type="text" name="widget_info" class="form-control" id="widget_info" placeholder="">
                                </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                <button type="button" id="btn_submit_s" click="upSubmit" class="btn btn-primary">确认</button>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>